package com.liuhao.ssm.annotation;

import java.lang.annotation.*;

/**
 * Created by liuHao on 2017/5/25.
 */
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface AuthPassport {
    //根据需要还可以加一下参数
    boolean value() default true;

    String redirectUrl() default "index.html";
}